<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        let grade = +prompt('请输入成绩:')
        if(grade >= 700){
            alert('恭喜你加入黑马程序员！')
        }else{
            alert('再接再厉！')
        }
    </script>
</body>
</html>